package base.多线程.同步代码;

public class Text_1 {
    public static void main(String[] args) {
        MM_Thread t1 = new MM_Thread();
        MM_Thread t2 = new MM_Thread();
        MM_Thread t3 = new MM_Thread();
        t1.setName("窗口1");
        t2.setName("窗口2");
        t3.setName("窗口3");
        t2.setPriority(10);
        t1.setPriority(1);
        t1.start();
        t2.start();
        t3.start();
    }
}
